package com.xuetang9.t9.xinhuaxia.service;

import com.xuetang9.t9.xinhuaxia.beans.SocialPublish;

import java.util.List;

/**
 * @author 陈焱
 * @version 1.0
 * @desc
 * @time 2020/2/26 下午 5:07
 * @copyright liyq
 * @address 成都西部国际金融中心2栋2201
 **/
public interface ISocialPublishService {

    List<SocialPublish> queryAll();
    boolean add(SocialPublish socialPublish);
    int getSocialPublishMaxCountId();
    List<SocialPublish> queryAllByUser(Integer userid);
    SocialPublish querybypid(SocialPublish socialPublish);
    boolean addlike(Integer pid);
}
